dm: test: Add GPIO open drain tests
author[email protected] <[email protected]>
Wed, 25 May 2016 13:15:23 +0000 (15:15 +0200)
committerYork Sun <[email protected]>
Sat, 4 Jun 2016 05:14:20 +0000 (22:14 -0700)
commit743268f5146e3fd93abb8b6142ef6a259a0656c5
treed28611bc6504378b0316582e62bf8f7f3132c219
parent51781783c59ad0080621d777579eb8acd14aa0ed
dm: test: Add GPIO open drain tests

Add some tests for the new open drain setting feature of the GPIO
uclass, and extend the capabilities of the sandbox GPIO driver
accordingly.

Signed-off-by: Mario Six <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: York Sun <[email protected]>
arch/sandbox/include/asm/gpio.h
drivers/gpio/sandbox.c
test/dm/gpio.c